<include file="Public:header"/>

<div class="table-tit">推广员列表</div>
<table class="table table-bgfont">
    <tr>
        <th>ID</th>
        <th>姓名</th>
        <th>账号</th>
        <th>账户类型</th>
        <th>收款人</th>
        <th>开户银行</th>
        <th>银行账号</th>
        <th>状态</th>
        <th>加入时间</th>
        <th>管理</th>
    </tr>
    
    <volist name="data.data" id="v">
        <tr>
            <td>{$v.sag_id}</td>
            <td>{$v.sag_name}</td>
            <td>{$v.sag_phone}</td>
            <td>{$v.sag_type|getDisName=$v['sag_type'],###}</td>
            <td>{$v.sag_payee}</td>
            <td>{$v.sag_bank}</td>
            <td>{$v.sag_baccount}</td>
            <td>
                <if condition="$v.sag_status eq 1">
                <button type="button" class="btn btn-success btn-xs">使用中</button>
                <else/>
                <button type="button" class="btn btn-danger btn-xs">暂停中</button>
                </if>
            </td>
            <td>{$v.sag_time|date='Y-m-d H:i:s',###}</td>
            <td>
                <a href="{:U('Dash/agentover','sga='.$v['sag_id'])}">
                    <button type="button" class="btn btn-info btn-xs">浏览</button>
                </a>
                <a href="{:U('Dash/agentedit','sga='.$v['sag_id'])}">
                    <button type="button" class="btn btn-xs btn-primary">编辑</button>
                </a>
                <a href="{:U('Dash/promanover')}">
                    <button type="button" class="btn btn-xs btn-danger">删除</button>
                </a>
            </td>
        </tr>
    </volist>

    <tr>
        <td colspan="10">{$data.page}</td>
    </tr>


</table>

<include file="Public:footer"/>


<include file="Public:footer"/>